import request from '@/config/request';
export namespace resApi {

  export const getResInfoByCode = (params = {}) =>
    request({
      url: '/supervision/baseReservoir/getResInfoByCode',
      method: 'get',
      params,
    });

    
  export const getPlanListByCode = (params = {}) =>
    request({
      url: '/supervision/baseReservoirDispatchPlan/getPlanListByResCode',
      method: 'get',
      params,
    });


    
  export const getPlanInfoById = (params = {}) =>
    request({
      url: '/supervision/baseReservoirDispatchPlan/getPlanInfoById',
      method: 'get',
      params,
    });
}